scala_library(
    sources = [
        "*.scala",
        "modules/*.scala",
        "response/*.scala",
    ],
    compiler_option_sets = ["fatal_warnings"],
    platform = "java8",
    provides = scala_artifact(
        org = "com.twitter",
        name = "finatra-http-tests",
        repo = artifactory,
    ),
    strict_deps = True,
    tags = ["bazel-compatible"],
    dependencies = [
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind",
        "3rdparty/jvm/com/google/inject:guice",
        "3rdparty/jvm/net/codingwell:scala-guice",
        "3rdparty/jvm/org/scalactic",
        "finagle/finagle-base-http/src/main",
        "finagle/finagle-core/src/main",
        "finatra/http-annotations/src/main/java/com/twitter/finatra/http/annotations",
        "finatra/http-core/src/main/scala/com/twitter/finatra/http/response",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http/routing",
        "finatra/inject/inject-core/src/main/scala/com/twitter/inject",
        "finatra/inject/inject-core/src/test/scala/com/twitter/inject",
        "finatra/inject/inject-modules/src/main/scala/com/twitter/inject/modules",
        "finatra/inject/inject-server/src/main/scala/com/twitter/inject/server",
        "finatra/inject/inject-server/src/test/scala/com/twitter/inject/server",
        "finatra/inject/inject-utils/src/main/scala",
        "finatra/jackson/src/main/scala/com/twitter/finatra/jackson/modules",
        "finatra/utils/src/main/scala/com/twitter/finatra/modules",
        "finatra/validation/src/main/scala/com/twitter/finatra/validation",
        "twitter-server/server/src/main/scala",
        "util/util-app/src/main/scala",
        "util/util-core:util-core-util",
        "util/util-core/src/main/scala/com/twitter/conversions",
        "util/util-core/src/main/scala/com/twitter/io",
        "util/util-jackson/src/main/scala/com/twitter/util/jackson",
        "util/util-slf4j-api/src/main/scala",
    ],
    exports = [
        "3rdparty/jvm/com/fasterxml/jackson/core:jackson-databind",
        "finatra/http-server/src/main/scala/com/twitter/finatra/http",
        "finatra/inject/inject-server/src/test/scala/com/twitter/inject/server",
        "util/util-jackson/src/main/scala/com/twitter/util/jackson",
    ],
)
